package cn.kgc.ubagnet.pojo;

public class Product {
    private Integer id;

    private Integer typeid;

    private Double price;

    private Double vipprice;

    private Integer totalcount;

    private Integer totaldiscuss;

    private Integer popularity;

    private Integer giveintegral;

    private Integer colorid;

    private Integer sizeid;

    private Integer stock;

    private Integer imagesid;

    private String proname;

    private String explain;

    private Double preferentialprice;

    private String qualityexplain;

    private Double kuaidiprice;

    private Integer ismanjian;

    private String scrap1;

    private String scrap2;
//  显示图片
    private String imageurl;


    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", typeid=" + typeid +
                ", price=" + price +
                ", vipprice=" + vipprice +
                ", totalcount=" + totalcount +
                ", totaldiscuss=" + totaldiscuss +
                ", popularity=" + popularity +
                ", giveintegral=" + giveintegral +
                ", colorid=" + colorid +
                ", sizeid=" + sizeid +
                ", stock=" + stock +
                ", imagesid=" + imagesid +
                ", proname='" + proname + '\'' +
                ", explain='" + explain + '\'' +
                ", preferentialprice=" + preferentialprice +
                ", qualityexplain='" + qualityexplain + '\'' +
                ", kuaidiprice=" + kuaidiprice +
                ", ismanjian=" + ismanjian +
                ", scrap1='" + scrap1 + '\'' +
                ", scrap2='" + scrap2 + '\'' +
                ", imageurl='" + imageurl + '\'' +
                '}';
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getVipprice() {
        return vipprice;
    }

    public void setVipprice(Double vipprice) {
        this.vipprice = vipprice;
    }

    public Integer getTotalcount() {
        return totalcount;
    }

    public void setTotalcount(Integer totalcount) {
        this.totalcount = totalcount;
    }

    public Integer getTotaldiscuss() {
        return totaldiscuss;
    }

    public void setTotaldiscuss(Integer totaldiscuss) {
        this.totaldiscuss = totaldiscuss;
    }

    public Integer getPopularity() {
        return popularity;
    }

    public void setPopularity(Integer popularity) {
        this.popularity = popularity;
    }

    public Integer getGiveintegral() {
        return giveintegral;
    }

    public void setGiveintegral(Integer giveintegral) {
        this.giveintegral = giveintegral;
    }

    public Integer getColorid() {
        return colorid;
    }

    public void setColorid(Integer colorid) {
        this.colorid = colorid;
    }

    public Integer getSizeid() {
        return sizeid;
    }

    public void setSizeid(Integer sizeid) {
        this.sizeid = sizeid;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getImagesid() {
        return imagesid;
    }

    public void setImagesid(Integer imagesid) {
        this.imagesid = imagesid;
    }

    public String getProname() {
        return proname;
    }

    public void setProname(String proname) {
        this.proname = proname == null ? null : proname.trim();
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain == null ? null : explain.trim();
    }

    public Double getPreferentialprice() {
        return preferentialprice;
    }

    public void setPreferentialprice(Double preferentialprice) {
        this.preferentialprice = preferentialprice;
    }

    public String getQualityexplain() {
        return qualityexplain;
    }

    public void setQualityexplain(String qualityexplain) {
        this.qualityexplain = qualityexplain == null ? null : qualityexplain.trim();
    }

    public Double getKuaidiprice() {
        return kuaidiprice;
    }

    public void setKuaidiprice(Double kuaidiprice) {
        this.kuaidiprice = kuaidiprice;
    }

    public Integer getIsmanjian() {
        return ismanjian;
    }

    public void setIsmanjian(Integer ismanjian) {
        this.ismanjian = ismanjian;
    }

    public String getScrap1() {
        return scrap1;
    }

    public void setScrap1(String scrap1) {
        this.scrap1 = scrap1 == null ? null : scrap1.trim();
    }

    public String getScrap2() {
        return scrap2;
    }

    public void setScrap2(String scrap2) {
        this.scrap2 = scrap2 == null ? null : scrap2.trim();
    }
}